package com.qinyeit.serviceapp.entity.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PropType {
    DIRECT("直营"),
    LEAGUE("加盟");

    private final String text;

    private PropType(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }
    public String getKey() {
        return toString();
    }
}
